abstract class $QUEUE{T} < $DISPENSER{T}
****
Abstract queue


Ancestors
$DISPENSER{_} $STR $CONTAINER{_} $ELT{_}
$ELT

Descendants
A_QUEUE{_} QUEUE{_}



Public


Features
elt!: T;
**** Return the elements in queue order (without removing them) i.e. return them in the same order as "remove" would
enq(elt:T);
**** Enqueue the element "elt"
is_empty: BOOL;
**** Is the queue empty
top: T;
**** Return the topmost element (alias for current)

The Sather Home Page